net: add support for finished after .destroy()#36635
Closed
ronag wants to merge 1 commit intonodejs:masterfrom
Closed
net: add support for finished after .destroy()#36635ronag wants to merge 1 commit intonodejs:masterfrom
ronag wants to merge 1 commit intonodejs:masterfrom
Conversation
Member
Author
|
@nodejs/net @nodejs/streams |
RaisinTen
reviewed
Dec 26, 2020
Collaborator
RaisinTen
reviewed
Dec 26, 2020
Collaborator
lpinca
approved these changes
Dec 26, 2020
benjamingr
approved these changes
Dec 26, 2020
Trott
approved these changes
Dec 27, 2020
Contributor
Commit Queue failed- Loading data for nodejs/node/pull/36635 ✔ Done loading data for nodejs/node/pull/36635 ----------------------------------- PR info ------------------------------------ Title net: add support for finished after .destroy() (#36635) Author Robert Nagy (@ronag) Branch ronag:net-finished -> nodejs:master Labels author ready, dont-land-on-v10.x, dont-land-on-v12.x, http, net, stream Commits 4 - net: add support for finished after .destroy() - fixup - Update lib/internal/streams/end-of-stream.js - Update test/parallel/test-net-finished.js Committers 2 - Robert Nagy - GitHub PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-12-26T16:03:40Z: https://ci.nodejs.org/job/node-test-pull-request/35087/ - Querying data for job/node-test-pull-request/35087/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sat, 26 Dec 2020 13:42:02 GMT ✔ Approvals: 4 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558878340 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36635#pullrequestreview-558882856 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/36635#pullrequestreview-558893180 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558935403 ✖ This PR needs to wait 7 more hours to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/448230565 |
Contributor
Commit Queue failed- Loading data for nodejs/node/pull/36635 ✔ Done loading data for nodejs/node/pull/36635 ----------------------------------- PR info ------------------------------------ Title net: add support for finished after .destroy() (#36635) Author Robert Nagy (@ronag) Branch ronag:net-finished -> nodejs:master Labels author ready, dont-land-on-v10.x, dont-land-on-v12.x, http, net, stream Commits 1 - net: add support for finished after .destroy() Committers 1 - Robert Nagy PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - net: add support for finished after .destroy() ✖ GitHub CI is still running ℹ Last Full PR CI on 2020-12-30T15:28:27Z: https://ci.nodejs.org/job/node-test-pull-request/35087/ ⚠ Commits were pushed after the last Full PR CI run: ⚠ - net: add support for finished after .destroy() - Querying data for job/node-test-pull-request/35087/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sat, 26 Dec 2020 13:42:02 GMT ✔ Approvals: 4 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558878340 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36635#pullrequestreview-558882856 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/36635#pullrequestreview-558893180 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558935403 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/453124569 |
Member
Author
|
@Trott Would you mind help landing this? At the moment I am unable to land PR's and the bots don't seem to work. |
jasnell
approved these changes
Dec 31, 2020
Collaborator
Member
|
Landed in 2da3611 |
jasnell
pushed a commit
that referenced
this pull request
Jan 4, 2021
Calling `finished(socket, cb)` would previously not invoked the callback if the socket was already detroyed. PR-URL: #36635 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Contributor
|
hey @ronag this doesn't land cleanly on v15.x. Would you be able to backport? |
3 tasks
Contributor
|
Adding don't land labels for all current branches as this was reverted from master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Calling
finished(socket, cb)would previously notinvoked the callback if the socket was already detroyed.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes